import { ApiProperty } from '@nestjs/swagger';
import { IsUUID } from 'class-validator';

/** uuid请求DTO */
export class UuidReqDto {
  @ApiProperty({ description: 'uuid' })
  @IsUUID('4', { message: 'uuid格式不正确' })
  readonly uuid: string;
}
